﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ProjetoJornada_Negocios.Fachada;
using Basicas;

namespace ProjetoJornada.Interno
{
    public partial class Matricula_Listar : System.Web.UI.Page
    {

        Fachada fachada = Fachada.Instance;

        protected void Page_Load(object sender, EventArgs e)
        {
            //List<Matricula> matriculas = fachada.PegarTodasMatriculas();
            //GridView1.DataSource = matriculas;
            //GridView1.DataBind();
        }

        protected void GridView_Matriculas_RowDeleting(object sender, GridViewDeleteEventArgs e)
        {
            //List<Matricula> matriculas = (List<Matricula>)GridView1.DataSource;
            //Matricula matricula = matriculas[e.RowIndex];
            //fachada.RemoverMatricula(matricula);
            //GridView1.DataBind();
        }
    }
}
